import { request } from '@/utils/service'
import type * as ChargeBattery from '@/api/chargebattery/types/chargebattery'

export function queryChargingStation(data: ChargeBattery.queryChargingStationRequestData) {
  return request<ChargeBattery.queryChargingStationResponse>({
    url: '/queryChargingStation',
    method: 'post',
    data,
  })
}
export function queryChargingStationDetection(
  data: ChargeBattery.queryChargingStationDetectionRequestData,
) {
  return request<ChargeBattery.queryChargingStationDetectionResponse>({
    url: '/queryChargingStationDetection',
    method: 'post',
    data,
  })
}

export function queryChargingStationDetailInfo(
  data: ChargeBattery.queryChargingStationDetailInfoRequestData,
) {
  return request<ChargeBattery.queryChargingStationDetailInfoResponse>({
    url: '/queryChargingStationDetailInfo',
    method: 'post',
    data,
  })
}
